package com.itcc.controller;

public class Code {

    //成功
    //books
    public static final Integer INSERT_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer SELECT_SINGLE_OK = 20041;
    public static final Integer SELECT_ALL_OK = 20051;
    public static final Integer Select_Other_OK= 20061;

    //customer
    public static final Integer REGISTER_OK = 30011;    //注册成功代号
    public static final Integer LOGON_OK = 30021;



    //失败
    //books
    public static final Integer INSERT_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer SELECT_SINGLE_ERR = 20040;
    public static final Integer SELECT_ALL_ERR = 20050;
    public static final Integer Select_Other_ERR= 20060;
    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer BUSINESS_ERR = 60002;
    public static final Integer SYSTEM_UNKNOWN_ERR = 59999;

    //customer
    public static final Integer REGISTER_ERR = 30010;   //注册失败代号
    public static final Integer LOGON_ERR = 30020;
}
